<?php use_stylesheets_for_form($form) ?>
<?php use_javascripts_for_form($form) ?>

<?php echo form_tag_for($form,'@application') ?>
     <table width="600" border="0" align="center" cellpadding="0" cellspacing="0" class="tables">
		 <tr>
			 <td colspan="6">
			  <?php echo $form->renderGlobalErrors() ?>
			  
			  <?php echo $form['name']->renderError() ?>
			  <?php echo $form['name_en']->renderError() ?>
			  <?php echo $form['age']->renderError() ?>
			  <?php echo $form['minzu']->renderError() ?>
			  <?php echo $form['height']->renderError() ?>
			  <?php echo $form['weight']->renderError() ?>
			  <?php echo $form['bwh']->renderError() ?>
			  <?php echo $form['occupation']->renderError() ?>
			  <?php echo $form['education']->renderError() ?>
			  <?php echo $form['college']->renderError() ?>
			  <?php echo $form['address']->renderError() ?>
			  <?php echo $form['id_card']->renderError() ?>
			  <?php echo $form['phone']->renderError() ?>
			  <?php echo $form['qq']->renderError() ?>
			  <?php echo $form['native_place']->renderError() ?>
			  <?php echo $form['contact']->renderError() ?>
			  <?php echo $form['relation']->renderError() ?>
			  <?php echo $form['contact_phone']->renderError() ?>
			  <?php echo $form['introduction']->renderError() ?>
			  <?php echo $form['hobby']->renderError() ?>
			  <?php echo $form['watchword']->renderError() ?>
			  
			  <?php echo $form['email']->renderError() ?>
			  <?php echo $form['password']->renderError() ?>
			  </td>
          </tr>
          <tr>
            <td height="50" colspan="6"><span>基本资料</span></td>
          </tr>
          <tr>
            <td width="104" height="35" align="right"><b><b>*</b></b> 真实姓名：</td>
            <td width="165" align="center"><?php echo $form['name']->render(array('disabled' => 'disabled','style' =>'background:#dadada;')) ?><?php echo $form['name']->render(array('type' => 'hidden')) ?></td>
            <td width="27">&nbsp;</td>
            <td width="112" align="right"><b>*</b> 现居住地：</td>
            <td width="163" align="center"><?php echo $form['address']->render(array('disabled' => 'disabled','style' =>'background:#dadada;')) ?><?php echo $form['address']->render(array('type' => 'hidden')) ?></td>
            <td width="29">&nbsp;</td>
          </tr>
          <tr>
            <td height="35" align="right"><b>*</b> 年龄：</td>
            <td align="center"><?php echo $form['age'] ?></td>
            <td align="center" class="ft23">&nbsp;</td>
            <td align="right"><b>*</b> 民族：</td>
            <td align="center"><?php echo $form['minzu']->render(array('disabled' => 'disabled','style' =>'background:#dadada;')) ?><?php echo $form['minzu']->render(array('type' => 'hidden')) ?></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="35" align="right"><b>* </b>身高：</td>
            <td align="center"><?php echo $form['height'] ?></td>
            <td align="center" class="ft23"> CM</td>
            <td align="right"><b>*</b> 体重：</td>
            <td align="center"><?php echo $form['weight'] ?></td>
            <td align="center" class="ft23">KG</td>
          </tr>
          <tr>
            <td height="35" align="right"><b>* </b>三围：</td>
            <td align="center"><?php echo $form['bwh'] ?></td>
            <td>&nbsp;</td>
            <td align="right"><b>*</b> 职业：</td>
            <td align="center"><?php echo $form['occupation'] ?></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="35" align="right"><b>*</b> 学历：</td>
            <td align="center"><?php echo $form['education'] ?></td>
            <td>&nbsp;</td>
            <td align="right"><b>*</b> 毕业就读院校：</td>
            <td align="center"><?php echo $form['college'] ?></td>
            <td>&nbsp;</td>
          </tr>
    </table>
    
    <table width="600" border="0" align="center" cellpadding="0" cellspacing="0" class="tables">
          <tr>
            <td height="50" colspan="4"><span>帐号与密码</span></td>
          </tr>
          <tr>
            <td width="104" height="35" align="right"><b>*</b> E-mail：</td>
            <td width="176" align="center"><?php echo $form['email']->render(array('disabled' => 'disabled','style' =>'background:#dadada;')) ?><?php echo $form['email']->render(array('type' => 'hidden')) ?></td>
            <td width="9">&nbsp;</td>
            <td width="311" class="ft23">用来登陆选手中心建议使用常用的E-mail</td>
          </tr>
		    
          <tr>
            <td height="35" align="right"><b>*</b> 新密码：</td>
            <td align="center"><?php echo $form['password'] ?></td>
            <td>&nbsp;</td>
            <td class="ft23">最少6位字符，英文字母、符号或数字</td>
        </tr>
          <tr>
            <td height="35" align="right"><b>*</b> 确认新密码：</td>
            <td align="center"><?php echo $form['password2'] ?></td>
            <td>&nbsp;</td>
            <td class="ft23">将设置密码再次输入一遍</td>
          </tr>
          <tr>
            <td height="35" align="right"><b>*</b> 身份证号：</td>
            <td align="center"><?php echo $form['id_card'] ?></td>
            <td colspan="2">&nbsp;</td>
          </tr>
    </table>
    <table width="600" border="0" align="center" cellpadding="0" cellspacing="0" class="tables">
      <tr>
        <td height="50" colspan="4"><span>联系方式</span></td>
      </tr>
      <tr>
        <td width="106" height="35" align="right"><b>*</b> 联系电话 ：</td>
        <td width="176" align="center"><?php echo $form['phone'] ?></td>
        <td width="134" align="right">QQ号：</td>
        <td width="184"><?php echo $form['qq'] ?></td>
      </tr>
      <tr>
        <td height="35" align="right"><b>*</b> 联系地址：</td>
        <td align="center"><?php echo $form['native_place'] ?></td>
        <td align="right"><b>*</b> 个人网站 ：</td>
        <td><?php echo $form['website'] ?></td>
      </tr>
      <tr>
        <td height="50" colspan="4"><span>紧急联系人</span></td>
      </tr>
      <tr>
        <td height="35" align="right"><b>*</b> 紧急联系人：</td>
        <td align="center"><?php echo $form['contact'] ?></td>
        <td align="right"><b>*</b> 与您的关系 ：</td>
        <td><?php echo $form['relation'] ?></td>
      </tr>
      <tr>
        <td height="35" align="right"> <b>*</b> 联系电话：</td>
        <td align="center"><?php echo $form['contact_phone'] ?></td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table>
    <table width="600" border="0" align="center" cellpadding="0" cellspacing="0" class="tables">
      <tr>
        <td height="50" colspan="2"><span>其它</span></td>
      </tr>
      <tr>
        <td width="107" align="right" valign="top"><b>*</b> 个人介绍：</td>
        <td width="493" height="110">
        <?php echo $form['introduction']->render(array('class' => 'text-textarea', 'cols' => '50', 'rows' => '8')) ?></td>
      </tr>
      <tr>
        <td height="30" colspan="2">&nbsp;</td>
      </tr>
      <tr>
        <td align="right" valign="top"><b>*</b> 才艺和爱好：</td>
        <td height="110"><?php echo $form['hobby']->render(array('class' => 'text-textarea', 'cols' => '50', 'rows' => '8')) ?></td>
      </tr>
      <tr>
        <td height="30" colspan="2">&nbsp;</td>
      </tr>
      <tr>
        <td align="right" valign="top"><b>*</b> 美丽宣言：</td>
        <td height="110"><?php echo $form['watchword']->render(array('class' => 'text-textarea', 'cols' => '50', 'rows' => '8')) ?></td>
      </tr>
    </table>
	<?php echo $form->renderHiddenFields() ?>
 	
    <table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
       <tr>
          <td width="114" height="60"></td>
          <td width="114"><input type="image" name="imageField" id="imageField" src="/images/tj_btn.gif" /></td>
          <td width="372"><input type="image" name="imageField2" id="imageField2" src="/images/cannel.gif" /></td>
       </tr>
    </table>
    </form>
